<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>密码帮手——找回密码第一步</title>
<?php include(DEDEMEMBER."/templets/head_inc.htm"); ?>
<script type="text/javascript" language="javascript">
function changeAuthCode() {
	var num = 	new Date().getTime();
	var rand = Math.round(Math.random() * 10000);
	num = num + rand;
	if ($("#vdimgck")[0]) {
		$("#vdimgck")[0].src = "../include/vdimgck.php?tag=" + num;
	}
	return false;	
}
</script>
</head>
<body>
<?php include(DEDEMEMBER."/templets/head.htm"); ?>
<div class="wrapper lineBorder" id="login">
  <div class="location">找回密码第一步</div>
  <div class="theme fLeft">
    <form name='form1' method='POST' action='resetpassword.php'>
      <input type="hidden" name="dopost" value="getpwd">
      <input type="hidden" name="gourl" value="<?php if(!empty($gourl)) echo $gourl;?>">
      <ul>
        <li><span>用户名：</span>
          <input name="userid" type="text" id="txtUsername" class="text" />
        </li>
        <li><span>邮&nbsp;&nbsp;&nbsp;箱：</span>
          <input name="mail" type="text" id="txtPassword" class="text" />
        </li>
        <li><span>验证码：</span>
          <input name="vdcode" type="text" id="vdcode" class="text" style='width:50px;text-transform:uppercase;' />
          <img id="vdimgck" src="../include/vdimgck.php" alt="看不清？点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'" /> 看不清？<a onclick="changeAuthCode();" href="#">点击更换</a></li>
        <li> <span>密码取回方式：</span>
          <input name="type" type="radio" value="1" checked="checked" />
          通过邮件取回
          <input name="type" type="radio" value="2" />
          通过安全问题取回</li>
        <li><span>&nbsp;</span>
          <button class="button5" id="btnSignCheck" type="submit">下一步</button>
        </li>
      </ul>
    </form>
  </div>
  <div class="useNew fLeft textCenter">
    <p class="signUp">
      <button class="button6 mTB10" onclick="location='index_do.php?fmdo=user&dopost=regnew'">注册一个新帐号</button>
    </p>
    <p class="mTB10"><a href="resetpassword.php">找回密码&gt;&gt;</a></p>
  </div>
  <div class="clear"></div>
</div>
<?php include(DEDEMEMBER."/templets/foot.htm"); ?>
</body>
</html>
